import Vue from 'vue'
import {
  Button,
  Form,
  FormItem,
  Input,
  Loading,
  Message,
  Option,
  Pagination,
  Select,
  Table,
  TableColumn,
  Tag,
  MessageBox,
  DatePicker
} from 'element-ui'

Vue.use(Button)
  .use(Select)
  .use(Option)
  .use(Input)
  .use(Table)
  .use(TableColumn)
  .use(Tag)
  .use(Form)
  .use(FormItem)
  .use(Loading)
  .use(Pagination)
  .use(DatePicker)

Vue.prototype.$msg = Message
Vue.prototype.$confirm = MessageBox.confirm

